C program to insert element at any specific position of array